import 'package:demo/common/widgets/page/page_widget.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'launch_ctrl.dart';

class LaunchPage extends StatelessWidget {
  LaunchPage({super.key});

  final LaunchCtrl ctrl = Get.put(LaunchCtrl());

  @override
  Widget build(BuildContext context) {
    return Center(
      child: PageWidget(
        pageCtrl: ctrl.pageCtrl,
        child: (list) {
          return ListView.builder(
            itemCount: list.length,
            itemBuilder: (context, index) {
              return Container(height: 200, child: Text(list[index]));
            },
          );
        },
      ),
    );
  }
}
